package com.teaching.teachingsupport.mapper.teacherviewmapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teaching.teachingsupport.common.enums.HomeworkStatus;
import com.teaching.teachingsupport.common.pojo.dataobject.TeacherHomework;
import com.teaching.teachingsupport.common.pojo.dto.response.HomeworkListResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TeacherHomeworkMapper extends BaseMapper<TeacherHomework> {
    Page<HomeworkListResponse> findHomeworkList(@Param("teacherId") Long teacherId,
                                              @Param("status") HomeworkStatus status,
                                              @Param("courseName") String courseName,
                                              @Param("page") Page<HomeworkListResponse> page);
} 